//
// Created by baigui on 21-7-11.
//

#include <VideoRender.h>
#include "VideoDecoder.h"

VideoDecoder::VideoDecoder(weak_ptr<MediaPlayer> player) : BaseModule() {
    mPlayer = player;
    blockFifo = new BlockFifo(100);

}

bool VideoDecoder::start() {
    mLooper = make_shared<Looper>(shared_from_this());
    return false;
}

VideoDecoder::~VideoDecoder() = default;